
//
//  CGRectExtension.swift
//  ShareMusic
//
//  Created by 胡岩 on 16/5/3.
//  Copyright © 2016年 胡岩. All rights reserved.
//

extension CGRect {
    static func screenHeight() -> CGFloat {
        return UIScreen.mainScreen().bounds.height
    }
    static func screenWidth() -> CGFloat {
        return UIScreen.mainScreen().bounds.width
    }
}
